import {get,post} from "@/components/utils/request";

// 可以照着这样写请求，页面调用
//请求传递
export const showStatus = () =>{
    return get("/orderInfo/showOrderStatus");
}
export const showStatusOver = () =>{
    return get("/orderInfo/showOrderStatusOver");
}
export const showAll = () =>{
    return get("/orderInfo/showAll");
}
export const showAllAppeal = () =>{
    return get("/orderInfo/showAllAppeal");
}
export const showAllAppealById = (orderId) =>{
    return get(`/orderInfo/showAllAppealById/`+orderId);
}
export const addFeedback = (orderComplaint) =>{
    return post(`/orderInfo/addFeedback`,orderComplaint);
}
export const findSelectDriver = (id) =>{
    return post(`/orderInfo/findSelectDriver/`+id);
}
export const selectMessage = (chatMessage) =>{
    return get(`/orderInfo/selectMessage`,chatMessage);
}
export const findPassenger = (id) =>{
    return get(`/orderInfo/findPassenger/`+id);
}
export const showHeatMap = () =>{
    return get("/orderInfo/showHeatMap");
}
